package com.ruanxie.json.jsonconverter;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruanxie.json.deserializer.ClassHourMarkDeserializer;
import lombok.Data;

@Data
public class HuebCourseScheduleJsonConverter {
    @JSONField(name = "kcmc")
    private String courseName;

    @JSONField(name = "xm")
    private String teacherName;

    @JSONField(name = "cdmc")
    private String venueName;

    @JSONField(name = "xqj")
    private String dayOfWeek;

    @JSONField(name = "zcd")
    private String weekRange;

    @JSONField(name = "jc")
    private String classTime;

    @JSONField(name = "xf")
    private Float credit;

    @JSONField(name = "cxbj")
    private Integer rebuildMark;

    @JSONField(name = "jgh_id")
    private String teacherId;

    @JSONField(name = "jxbmc")
    private String teachingClassName;

    @JSONField(name = "jxb_id")
    private String teachingClassId;

    @JSONField(name = "kch")
    private String courseId;

    @JSONField(name = "jxbzc")
    private String teachingClassComposition;

    @JSONField(name = "kcxz")
    private String courseNature;

    @JSONField(name = "xslxbj",deserializeUsing = ClassHourMarkDeserializer.class)
    private String classHourMark;

}
